Click the button to change the anchor part (hash) of the current URL to #part5

The oldURL property returns the URL of the document we navigated away from.

The newURL property returns the URL we are navigating to.

Note: These properties are not supported in Internet Explorer.